#!/bin/bash

if [ -d "./install" ]; then
    rm -rf install
fi

mkdir install
cd install
installPath=$(pwd)
cd ..

if [ -d "./build" ]; then
    rm -rf build
fi
mkdir build
cd build

cmake -DCMAKE_INSTALL_PREFIX=${installPath} ..
make
make install

cd ..

# ./run.sh

